# Maintainer: Balló György <ballogyor+arch at gmail dot com>
# Contributor: Strit <danjohansen at strits dot dk>
# Contributor: ValHue <vhuelamo at gmail dot com>
# Contributor: Jaroslav Lichtblau <dragonlord at aur dot archlinux dot org>
# Contributor: Daniel J Griffiths <ghost1227 at archlinux dot us>
# Contributor: Ronald van Haren <ronald at archlinux dot org>
# Contributor: Alessio 'mOLOk' Bolognino <themolok at gmail dot com>
# Contributor: Pawel Rusinek <p.rusinek at gmail dot com>
# Contributor: Jashua Gentry <https://gitlab.com/pixel293>
# Contributor: John Cheetham <https://gitlab.com/johncheetham>

pkgname=griffith
pkgver=0.19
pkgrel=1
pkgdesc='Movie collection manager application'
arch=('any')
url='https://gitlab.com/Strit/griffith'
license=('GPL2')
depends=('gtkspell3' 'python-chardet' 'python-gobject' 'python-pillow' 'python-reportlab'
         'python-sqlalchemy')
source=("https://gitlab.com/Strit/$pkgname/-/archive/$pkgver/$pkgname-$pkgver.tar.gz"
        '0001-Add-missing-Gtk-version-declaration.patch')
sha256sums=('1a3b8856cce13503dd0fd2a34f69bbf1c0feb62343677061a04fd8f53d44e88c'
            '896aae0fc40de117f478e6b1bbc037178b885ca8ed4f649b5d4bc2258de68205')

prepare() {
  cd $pkgname-$pkgver
  patch -Np1 -i ../0001-Add-missing-Gtk-version-declaration.patch
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}
